/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.hk.media.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.jeesite.modules.hk.media.entity.HkMediaNews;
import com.thinkgem.jeesite.modules.hk.media.dao.HkMediaNewsDao;

/**
 * 自媒体新闻Service
 * @author 罗天文
 * @version 2018-04-19
 */
@Service
@Transactional(readOnly = true)
public class HkMediaNewsService extends CrudService<HkMediaNewsDao, HkMediaNews> {

	public HkMediaNews get(String id) {
		return super.get(id);
	}
	
	public List<HkMediaNews> findList(HkMediaNews hkMediaNews) {
		return super.findList(hkMediaNews);
	}
	
	public Page<HkMediaNews> findPage(Page<HkMediaNews> page, HkMediaNews hkMediaNews) {
		return super.findPage(page, hkMediaNews);
	}
	
	@Transactional(readOnly = false)
	public void save(HkMediaNews hkMediaNews) {
		super.save(hkMediaNews);
	}
	
	@Transactional(readOnly = false)
	public void delete(HkMediaNews hkMediaNews) {
		super.delete(hkMediaNews);
	}
	
}